package com.itheima.reggie.dto;


import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishFlavor;
import io.swagger.annotations.ApiModel;
import lombok.Data;


import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("菜品dto")
public class DishDto extends Dish {
    private List<DishFlavor> flavors = new ArrayList<>();
    private String categoryName; //菜品分类名称
    private Integer copies;
}
